[Var_Set:'vl_file'=(String_Concatenate:(Var:'vl_folder'),'/',(Var:'field_name'),'.txt')]
[Var_Set:'field_value'=(Field:(Var:'field_name'))]

[File_Control]
	[Var: 'temp'=(File_ReadLine: (Var:'vl_file', EncodeNone), FileLineNumber=1)]
	[If: (File_CurrentError, ErrorCode) == '0']
		[Loop: (File_GetLineCount: (Var:'vl_file'), FileEndOfLine='\r')]
			[Var_Set:'vl_item'=(File_ReadLine: (Var:'vl_file'), FileEndOfLine='\r', FileLineNumber=LoopCount)]
<!-- Insert the field name for the Name attribute of the Input tag -->
<!-- Insert the value of the line for the Value attribute of the Input tag -->
<!-- Insert the Selected attribute by comparing the field value with the value of the line -->

		[/Loop]
	[Else]
		File Error: [File_CurrentError:ErrorCode], [File_CurrentError]
	[/If]
[/File_Control]